import { createRouter, createWebHistory } from 'vue-router'

const router = createRouter({
  history: createWebHistory(),
  routes: [
    { path: '/', component: () => import('@/components/ScoreEditor.vue') },
    { path: '/:pathMatch(.*)*', redirect: '/' }
  ]
})

export default router